//
//  MHomeViewController.h
//  NeusoftHBSJSober
//
//  Created by Apple-21 on 15/10/28.
//  Copyright (c) 2015年 com.neusoftsober. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MMapViewController.h"
#import "MListViewController.h"
#import "Define.pch"
#import "MLoginViewController.h"
@interface MHomeViewController : UIViewController{
    
    IBOutlet UIView *mainView;
    
    IBOutlet UIButton *mapButton;
    IBOutlet UIButton *listButton;

}
@property (strong, nonatomic)IBOutlet UIView *menuView;
@property (strong, nonatomic) IBOutlet UILabel *titleLabel;

@property (nonatomic,strong) UIViewController *currentViewController;
@property (nonatomic,strong) MMapViewController *mapViewController;
@property (nonatomic,strong) MListViewController *listViewController;
-(void)showChildView:(UIViewController *)target;
-(IBAction)showMapView:(id)sender;
-(IBAction)showListView:(id)sender;

-(IBAction)showMenuView:(id)sender;

- (void)clickListCellMapButtonAction:(UIButton *)sender;
- (void)clickMapButtonAction:(UIButton *)sender;
@end
